/*
 * StateArrow.java
 * 
 * Created on 29/Dez/2007, 20:49:14
 * 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Estado;

import java.util.ArrayList;

/**
 *
 * @author Pedro
 */
public class StateArrow {
    
    ArrayList<Integer> frases = new ArrayList<Integer>();
    int palavra;
public StateArrow (int ID)
{
    palavra=ID;
}
public StateArrow ()
{
}
  public  int getPalavra(){return palavra;}
  public  ArrayList<Integer> getFrases(){return frases;}
  public int getFrase(int index){return frases.get(index);}
  public int getFirstFrase(){return frases.get(0);} 
  public  void setPalavra(int id){palavra=id;}
  public  void addFrase(int id){frases.add(id);}
  public  void addFrases(ArrayList<Integer> frs){frases.addAll(frs);}
  

    
}
